import Vuex from 'vuex';
import Vue from 'vue';

import module_auth from './modules/auth';
import module_apps from './modules/apps';
import module_devices from './modules/devices';
import module_sessions from './modules/sessions';
import module_general from './modules/general';
import module_rules from './modules/rules';
import module_category from './modules/category';

Vue.use(Vuex);

var store = new Vuex.Store({
  strict: process.env.NODE_ENV !== 'production',
  state: {
    //
  },
  mutations: {
    //
  },
  modules: {
    auth: module_auth,
    apps: module_apps,
    devices: module_devices,
    sessions: module_sessions,
    general: module_general,
    rules: module_rules,
    category: module_category,
  }
});

export default store;